home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / lib / perl5 / Gnome2 / Client.pod < prev    next >
Text File  |  2009-04-29  |  4KB  |  311 lines

  1. =head1 NAME
  2.  
  3. Gnome2::Client - wrapper for GnomeClient
  4.  
  5. =cut
  6.  
  7. =head1 HIERARCHY
  8.  
  9.   Glib::Object
  10.   +----Glib::InitiallyUnowned
  11.        +----Gtk2::Object
  12.             +----Gnome2::Client
  13.  
  14.  
  15.  
  16. =cut
  17.  
  18.  
  19. =head1 METHODS
  20.  
  21. =head2 client = Gnome2::Client-E<gt>B<new> 
  22.  
  23. =head2 client = Gnome2::Client-E<gt>B<new_without_connection> 
  24.  
  25. =head2 $client-E<gt>B<add_static_arg> (...)
  26.  
  27. =over
  28.  
  29. =item * ... (list) 
  30.  
  31. =back
  32.  
  33. =head2 $client-E<gt>B<set_clone_command> (...)
  34.  
  35. =over
  36.  
  37. =item * ... (list) 
  38.  
  39. =back
  40.  
  41. =head2 string = $client-E<gt>B<get_config_prefix> 
  42.  
  43. =head2 $client-E<gt>B<connect> 
  44.  
  45. =head2 boolean = $client-E<gt>B<connected> 
  46.  
  47. =head2 $client-E<gt>B<set_current_directory> ($dir)
  48.  
  49. =over
  50.  
  51. =item * $dir (string) 
  52.  
  53. =back
  54.  
  55. =head2 string = $client-E<gt>B<get_desktop_id> 
  56.  
  57. =head2 $client-E<gt>B<set_discard_command> (...)
  58.  
  59. =over
  60.  
  61. =item * ... (list) 
  62.  
  63. =back
  64.  
  65. =head2 $client-E<gt>B<disconnect> 
  66.  
  67. =head2 $client-E<gt>B<set_environment> ($name, $value)
  68.  
  69. =over
  70.  
  71. =item * $name (string) 
  72.  
  73. =item * $value (string) 
  74.  
  75. =back
  76.  
  77. =head2 clientflags = $client-E<gt>B<get_flags> 
  78.  
  79. =head2 $client-E<gt>B<flush> 
  80.  
  81. =head2 string = $client-E<gt>B<get_global_config_prefix> 
  82.  
  83. =head2 $client-E<gt>B<set_global_config_prefix> ($prefix)
  84.  
  85. =over
  86.  
  87. =item * $prefix (string) 
  88.  
  89. =back
  90.  
  91. =head2 string = $client-E<gt>B<get_id> 
  92.  
  93. =head2 Gnome2::Client-E<gt>B<interaction_key_return> ($key, $cancel_shutdown)
  94.  
  95. =over
  96.  
  97. =item * $key (integer) 
  98.  
  99. =item * $cancel_shutdown (boolean) 
  100.  
  101. =back
  102.  
  103. =head2 client = Gnome2::Client-E<gt>B<master> 
  104.  
  105. =head2 string = $client-E<gt>B<get_previous_id> 
  106.  
  107. =head2 $client-E<gt>B<set_priority> ($priority)
  108.  
  109. =over
  110.  
  111. =item * $priority (integer) 
  112.  
  113. =back
  114.  
  115. =head2 $client-E<gt>B<request_interaction> ($dialog_type, $function, $data=undef)
  116.  
  117. =over
  118.  
  119. =item * $dialog_type (Gnome2::DialogType) 
  120.  
  121. =item * $function (scalar) 
  122.  
  123. =item * $data (scalar) 
  124.  
  125. =back
  126.  
  127. =head2 $client-E<gt>B<request_phase_2> 
  128.  
  129. =head2 $client-E<gt>B<request_save> ($save_style, $shutdown, $interact_style, $fast, $global)
  130.  
  131. =over
  132.  
  133. =item * $save_style (Gnome2::SaveStyle) 
  134.  
  135. =item * $shutdown (boolean) 
  136.  
  137. =item * $interact_style (Gnome2::InteractStyle) 
  138.  
  139. =item * $fast (boolean) 
  140.  
  141. =item * $global (boolean) 
  142.  
  143. =back
  144.  
  145. =head2 $client-E<gt>B<set_resign_command> (...)
  146.  
  147. =over
  148.  
  149. =item * ... (list) 
  150.  
  151. =back
  152.  
  153. =head2 $client-E<gt>B<set_restart_command> (...)
  154.  
  155. =over
  156.  
  157. =item * ... (list) 
  158.  
  159. =back
  160.  
  161. =head2 $client-E<gt>B<set_restart_style> ($style)
  162.  
  163. =over
  164.  
  165. =item * $style (Gnome2::RestartStyle) 
  166.  
  167. =back
  168.  
  169. =head2 $client-E<gt>B<save_any_dialog> ($dialog)
  170.  
  171. =over
  172.  
  173. =item * $dialog (Gtk2::Dialog) 
  174.  
  175. =back
  176.  
  177. =head2 $client-E<gt>B<save_error_dialog> ($dialog)
  178.  
  179. =over
  180.  
  181. =item * $dialog (Gtk2::Dialog) 
  182.  
  183. =back
  184.  
  185. =head2 $client-E<gt>B<set_shutdown_command> (...)
  186.  
  187. =over
  188.  
  189. =item * ... (list) 
  190.  
  191. =back
  192.  
  193.  
  194.  
  195. =cut
  196.  
  197.  
  198. =head1 SIGNALS
  199.  
  200. =over
  201.  
  202. =item boolean = B<save-yourself> (Gnome2::Client, integer, Gnome2::SaveStyle, boolean, Gnome2::InteractStyle, boolean)
  203.  
  204. =item B<die> (Gnome2::Client)
  205.  
  206. =item B<save-complete> (Gnome2::Client)
  207.  
  208. =item B<shutdown-cancelled> (Gnome2::Client)
  209.  
  210. =item B<connect> (Gnome2::Client, boolean)
  211.  
  212. =item B<disconnect> (Gnome2::Client)
  213.  
  214. =back
  215.  
  216.  
  217.  
  218. =cut
  219.  
  220.  
  221. =head1 ENUMS AND FLAGS
  222.  
  223. =head2 flags Gnome2::ClientFlags
  224.  
  225. =over
  226.  
  227. =item * 'is-connected' / 'GNOME_CLIENT_IS_CONNECTED'
  228.  
  229. =item * 'restarted' / 'GNOME_CLIENT_RESTARTED'
  230.  
  231. =item * 'restored' / 'GNOME_CLIENT_RESTORED'
  232.  
  233. =back
  234.  
  235.  
  236. =head2 enum Gnome2::DialogType
  237.  
  238. =over
  239.  
  240. =item * 'error' / 'GNOME_DIALOG_ERROR'
  241.  
  242. =item * 'normal' / 'GNOME_DIALOG_NORMAL'
  243.  
  244. =back
  245.  
  246.  
  247. =head2 enum Gnome2::InteractStyle
  248.  
  249. =over
  250.  
  251. =item * 'none' / 'GNOME_INTERACT_NONE'
  252.  
  253. =item * 'errors' / 'GNOME_INTERACT_ERRORS'
  254.  
  255. =item * 'any' / 'GNOME_INTERACT_ANY'
  256.  
  257. =back
  258.  
  259.  
  260. =head2 enum Gnome2::RestartStyle
  261.  
  262. =over
  263.  
  264. =item * 'if-running' / 'GNOME_RESTART_IF_RUNNING'
  265.  
  266. =item * 'anyway' / 'GNOME_RESTART_ANYWAY'
  267.  
  268. =item * 'immediately' / 'GNOME_RESTART_IMMEDIATELY'
  269.  
  270. =item * 'never' / 'GNOME_RESTART_NEVER'
  271.  
  272. =back
  273.  
  274.  
  275. =head2 enum Gnome2::SaveStyle
  276.  
  277. =over
  278.  
  279. =item * 'global' / 'GNOME_SAVE_GLOBAL'
  280.  
  281. =item * 'local' / 'GNOME_SAVE_LOCAL'
  282.  
  283. =item * 'both' / 'GNOME_SAVE_BOTH'
  284.  
  285. =back
  286.  
  287.  
  288.  
  289.  
  290. =cut
  291.  
  292.  
  293. =head1 SEE ALSO
  294.  
  295. L<Gnome2>, L<Glib::Object>, L<Glib::InitiallyUnowned>, L<Gtk2::Object>
  296.  
  297.  
  298. =cut
  299.  
  300.  
  301. =head1 COPYRIGHT
  302.  
  303. Copyright (C) 2003-2004 by the gtk2-perl team.
  304.  
  305. This software is licensed under the LGPL.  See L<Gnome2> for a full notice.
  306.  
  307.  
  308.  
  309. =cut
  310.  
  311.